//
//  TransactionModel.m
//  DaoZiJinFu
//
//  Created by woker on 16/7/14.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import "TransactionModel.h"

@implementation TransactionModel

+ (instancetype)modelWithDict:(NSDictionary *)dict {
    TransactionModel *model = [[TransactionModel alloc] init];
//    [model setValuesForKeysWithDictionary:dict];
    
    [model setAccount_balance:dict[@"account_balance"]];
    [model setId:dict[@"id"]];
    [model setOrder_sn:dict[@"order_sn"]];
    [model setOrder_type:dict[@"order_type"]];
    [model setStatus:dict[@"status"]];
    [model setTransaction_amount:dict[@"transaction_amount"]];
    [model setTransaction_time:dict[@"transaction_time"]];
    [model setTransaction_type:dict[@"transaction_type"]];
    return model;
}

@end
